<template>
  <el-date-picker
    type="datetime"
    placeholder="请选择发布时间"
    :clearable="false"
    :default-time="defaultTime"
    :disabled-date="datePicker.disableDate"
    :disabled-hours="datePicker.disabledHour"
    :disabled-minutes="datePicker.disabledMinute"
    :disabled-seconds="datePicker.disabledSecond"
  />
</template>
<script setup lang="ts">
import datePicker from '@/utils/datePicker';
const defaultTime = new Date();
</script>
<style scoped lang="scss"></style>
